package com.ewanghuiju.app.model.event;

/**
 * @author sj  qq:751943509
 * @class describe
 * @time 2020/3/21
 */
public class SendEvent<T> {
    public SendEvent(String string, int type) {
        this.string = string;
        this.type = type;
    }

    public SendEvent(String string, int type, T data) {
        this.string = string;
        this.type = type;
        this.data = data;
    }

    private String string;

    private int type;

    private T data;


    public String getString() {
        return string;
    }

    public void setString(String string) {
        this.string = string;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }
}
